Skip to content

Fix #484: Fixed misalignment issue under 'Wrapper' section - #507

Open
rahulsnkr wants to merge 1 commit into
Cloud-CV:masterfrom
rahulsnkr:wrapper-misalignment
Open

Fix #484: Fixed misalignment issue under 'Wrapper' section#507
rahulsnkr wants to merge 1 commit into
Cloud-CV:masterfrom
rahulsnkr:wrapper-misalignment

Conversation

@rahulsnkr

Copy link
Copy Markdown

Fixed the issue of items under the 'Wrapper' section being misaligned (issue #484).

screenshot from 2018-12-19 15-35-51

Comment thread ide/static/css/zoo.css
}

#wrapper {
#content-wrapper {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rahulsnkr didn't get this, why would changing the id of the css class worked for you?

@rahulsnkr rahulsnkr Dec 19, 2018

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ram81

<div id="wrapper" className="panel-collapse collapse" role="tabpanel">
<div className="panel-body">
<PaneElement setDraggingLayer={this.props.setDraggingLayer}
handleClick={this.props.handleClick}
id="TimeDistributed_Button">Time Distributed</PaneElement>
<PaneElement setDraggingLayer={this.props.setDraggingLayer}
handleClick={this.props.handleClick}
id="Bidirectional_Button">Bidirectional</PaneElement>
</div>
</div>

The 'Wrapper' section in the pane.js file also has the same id, so the padding was being applied to that too. So I changed the id of the div in modelZoo.js, and the corresponding property name in zoo.css from 'wrapper' to 'content-wrapper'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants